using System.Net;
using org.apache.solr.SolrSharp.Indexing;

namespace SolrSharp.Adapters {
	public interface ISolrUpdater {
		HttpStatusCode Commit();
		HttpStatusCode Optimize();
		void PostToIndex(IndexDocument doc);
		void PostToIndex(IndexDocument doc, bool bCommit);
	}
}